<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

namespace Model;
    
    use Fuel\Core\Model_Crud;
    
    class Empresa extends Model_Crud{
        
        protected static $_table_name = "empresa";
        protected static $_primay_key = "cod_em";
        
        protected static $_rules = array(
            
            'id_e' => 'required',
            'nomb_em' => 'required',
            'dir_em' => 'required',
            'tel_em' => 'required',
            'mail_em' => 'required',
        );
    }

?>
